package com.docker.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 控制类
 *
 * @author: lidingyin
 * @date: 2023年06月28日 10:09:07
 */
@RestController
public class IndexController {

    @GetMapping("/index")
    public String index(){
        return "Here is the home page";
    }

    @GetMapping("/hello")
    public String hello(){
        return "Hello docker";
    }

}
